package com.zhpan.indicator.drawer;

import com.zhpan.indicator.options.IndicatorOptions;

import ohos.agp.render.Canvas;

/**
 * 伸缩
 *
 * @since 2021-04-13
 */
public class DashDrawer extends RectDrawer {

    /**
     * 按照配置创建控件
     *
     * @param options 配置
     */
    public DashDrawer(IndicatorOptions options) {
        super(options);
    }

    @Override
    protected void drawDash(Canvas canvas) {
        super.drawDash(canvas);
        canvas.drawRect(mRectF, mPaint);
    }
}
